import {Exclude, Expose} from 'class-transformer'
export class Aaa6 {
    id: number;

    username: string;

    @Exclude()
    password: string;

    email: string;

    @Expose()
    get xxx(): string {
        return `${this.username} ${this.email}`
    }

    constructor(partial: Partial<Aaa6>) {
        Object.assign(this, partial);
    }
}
